home *** CD-ROM | disk | FTP | other *** search
- *** 1.8 1991/07/23 22:44:46
- --- Changelog 1992/01/14 19:39:01
- ***************
- *** 90,92 ****
- --- 90,107 ----
- math.h:: ++jrb
- add proto for hypot
- ---------------------------- Patchlevel 12 ------------------------------
- +
- + math.h:: ++jrb
- + make the exception structure more "unix like". use the same values
- + for exception types (this only helps portability).
- +
- + atan2.c:: ++jrb
- + use the second arg in the exception struct now that we have it.
- +
- + sign.c:: ++jrb
- + was copy the wrong sign when second arg was 0. reported by michael ritzert.
- +
- + dabs.c:: ++jrb
- + make the asm code conditional on (m68k && GNUC), not just GNUC
- +
- + ---------------------------- Patchlevel 13 ------------------------------
- *** 1.5 1991/07/23 22:44:46
- --- Makefile.tos 1992/01/14 19:39:01
- ***************
- *** 26,32 ****
-
- install : $(ALL)
- cp pml16.olb pml.olb $(CROSSLIB)
- ! cp pmluser.h $(CROSSINC)
-
- install020 : pml16020.olb pml020.olb
- cp pml16020.olb pml020.olb $(CROSSLIB)
- --- 26,32 ----
-
- install : $(ALL)
- cp pml16.olb pml.olb $(CROSSLIB)
- ! cp math.h $(CROSSINC)
-
- install020 : pml16020.olb pml020.olb
- cp pml16020.olb pml020.olb $(CROSSLIB)
- *** 1.9 1991/07/23 22:44:46
- --- PatchLevel.h 1992/01/14 19:39:02
- ***************
- *** 1,5 ****
- /*
- ! * PatchLevel: 12
- *
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- --- 1,5 ----
- /*
- ! * PatchLevel: 13
- *
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- *** 1.5 1991/05/23 15:23:34
- --- atan2.c 1992/01/14 19:39:03
- ***************
- *** 108,113 ****
- --- 108,114 ----
- xcpt.type = DOMAIN;
- xcpt.name = funcname;
- xcpt.arg1 = x;
- + xcpt.arg2 = y;
- xcpt.retval = result;
- if (!matherr(&xcpt)) {
- fprintf (stderr, "%s: DOMAIN error\n", funcname);
- *** 1.4 1991/05/23 15:23:34
- --- dabs.c 1992/01/14 19:39:06
- ***************
- *** 68,74 ****
- static char funcname[] = "dabs";
-
-
- ! #ifdef __GNUC__
- asm(".text; .even; .globl _fabs; _fabs:"); /* dept of dirty tricks */
- #endif
-
- --- 68,74 ----
- static char funcname[] = "dabs";
-
-
- ! #if defined(m68k) && defined(__GNUC__)
- asm(".text; .even; .globl _fabs; _fabs:"); /* dept of dirty tricks */
- #endif
-
- ***************
- *** 92,98 ****
- }
-
-
- ! #ifndef __GNUC__
- double fabs (x)
- double x;
- {
- --- 92,98 ----
- }
-
-
- ! #if !(defined(m68k) && defined(__GNUC__))
- double fabs (x)
- double x;
- {
- *** 1.10 1991/07/23 22:44:46
- --- math.h 1992/01/14 19:39:07
- ***************
- *** 55,66 ****
- } COMPLEX;
-
- /* exceptions ++jrb */
- ! typedef enum { DOMAIN, OVERFLOW, UNDERFLOW, PLOSS, SING } exception_type;
-
- struct exception {
- exception_type type; /* exception type */
- char *name; /* function in which it occured */
- double arg1; /* an arg */
- double retval; /* val to return */
- };
-
- --- 55,74 ----
- } COMPLEX;
-
- /* exceptions ++jrb */
- ! typedef enum {
- ! DOMAIN = 1,
- ! SING = 2,
- ! OVERFLOW = 3,
- ! UNDERFLOW = 4,
- ! TLOSS = 5,
- ! PLOSS = 6
- ! } exception_type;
-
- struct exception {
- exception_type type; /* exception type */
- char *name; /* function in which it occured */
- double arg1; /* an arg */
- + double arg2; /* another arg */
- double retval; /* val to return */
- };
-
- *** 1.5 1991/05/23 15:23:34
- --- sign.c 1992/01/14 19:39:08
- ***************
- *** 60,67 ****
-
- ENTER ("copysign");
- DEBUG4 ("copysignin", "args %le %le", x, y);
- ! if (x > 0.0) {
- ! if (y > 0.0) {
- rtnval = x;
- } else {
- rtnval = -x;
- --- 60,67 ----
-
- ENTER ("copysign");
- DEBUG4 ("copysignin", "args %le %le", x, y);
- ! if (x >= 0.0) {
- ! if (y >= 0.0) {
- rtnval = x;
- } else {
- rtnval = -x;
-